
$('.butt1').click(function(){
	var lacal = localStorage;
	if ($('.denglu-two-inp').val()==lacal.user && $('.denglu-four-inp').val()==lacal.past){
//		$('.denglu-three-text').html("恭喜你！登录成功。") ;
//		location.href = "index.html";
//		console.log(username)
		$('.register').hide();
		$('.top-a1').hide();
		$('.top-a2').hide();
		$('#username').show();
		$('#username').html(lacal.user);
	} else{
		$('.denglu-pass-text').html("用户或密码不正确");
	}
})
